package com.zh.equipment.domain;

import java.io.Serializable;



/**
 * 设备关系绑定表
 * 
 * @author 马广洋
 * @email 54925881@qq.com
 * @date 2019-08-13 15:24:34
 */
public class DeviceBindingRelaDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键
	private Integer id;
	//0网关 1老人id 2家庭id 3场景id
	private Integer bindingType;
	//设备id 外键
	private String deviceBindingId;
	//名称
	private String name;
	//设备实例表id
	private Integer devcieExampleId;
	/**
	 * 设置：主键
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：主键
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：0网关 1老人id 2家庭id 3场景id
	 */
	public void setBindingType(Integer bindingType) {
		this.bindingType = bindingType;
	}
	/**
	 * 获取：0网关 1老人id 2家庭id 3场景id
	 */
	public Integer getBindingType() {
		return bindingType;
	}
	/**
	 * 设置：设备id 外键
	 */
	public void setDeviceBindingId(String deviceBindingId) {
		this.deviceBindingId = deviceBindingId;
	}
	/**
	 * 获取：设备id 外键
	 */
	public String getDeviceBindingId() {
		return deviceBindingId;
	}
	/**
	 * 设置：名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：设备实例表id
	 */
	public void setDevcieExampleId(Integer devcieExampleId) {
		this.devcieExampleId = devcieExampleId;
	}
	/**
	 * 获取：设备实例表id
	 */
	public Integer getDevcieExampleId() {
		return devcieExampleId;
	}

	/**
	 * 空参构造器
	 */
	public DeviceBindingRelaDO() {
	}

	/**
	 * 构造器
	 * @param bindingType
	 * @param deviceBindingId
	 * @param name
	 */
	public DeviceBindingRelaDO(Integer bindingType, String deviceBindingId, String name) {
		this.bindingType = bindingType;
		this.deviceBindingId = deviceBindingId;
		this.name = name;
	}
}
